-
Home
-
Pixel Manager for WooCommerce – Track Google Analytics, Google Ads, TikTok and more
-
1.39.0
-
Code
-
Classes
- Geolocation
Total Complexity |
40 |
Dependencies |
1 |
Dependents |
4 |
Total lines |
322 |
Lines of code |
168 |
Logical lines of code |
88 |
Comment lines |
92 |
Methods |
8 |
Properties |
2 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
geolocate_via_api() |
A |
45 |
11 |
41 |
geolocate_ip() |
A |
45 |
10 |
44 |
get_external_ip_address() |
A |
48 |
7 |
32 |
get_ip_address() |
S |
58 |
5 |
14 |
get_country_code_from_headers() |
S |
57 |
3 |
17 |
get_user_ip() |
S |
64 |
2 |
9 |
is_localhost() |
S |
69 |
1 |
7 |
get_visitor_country() |
S |
75 |
1 |
4 |